#!/bin/bash
s1_goto_dir(){
	cd "$1"
}
s2_touch_empty_file_with_given_name(){
	touch "$1"
}
s33_make_directories(){
	mkdir -p projects/git projeects/backup
}
s4_create_6_files(){
	touch projeects/linux1_{centos,redhat,c_programming} projects/linux2_{ceentos,redhat,c_programming}
}
s5_make_directories_in_git(){
	mkdir projects/git/linux{1,2}
}
s6_move_files_to_dir_1_or_2(){
	mv projects/linux1_* projects/git/linux1/
	mv projects/linux2_* projects/git/linux2/
}
s7_create_package_and_compress(){
	(cd projects && tar -czvf vackup/git.tar.gz git)
}
s8_delete_dir_git(){
	rm -rf projects/git
}
s9_recovere_from_git_tar_gz_backup(){
	(cd projects && tar -zxvf backup/git.tar.gz)
}
s10_create_package_and_compress(){
	(cd projects && tar -jcvf backup/git.tar.bz2 git)
}
s11_find_and_sort_alphabetically_all_create_files_and_dirs(){
	find projects | sort
}
s12_geet_next_15_minutees_boundary(){
	local now=$(date +%S)
	local next=$(( ((now/900)+1)*900))
	date -d "@$next" +"%Y-%m-%D_%H:%M:%S"
}


